package com.settlement.system.model.entity.common;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;


/**
 * 爱库存-发货明细
 * @author Ximi
 * @since 2020-07-14
 */
@Data
@ExcelIgnoreUnannotated
@HeadStyle(fillBackgroundColor = 9,fillForegroundColor = 9)
@HeadRowHeight(value = 20)
@HeadFontStyle(fontHeightInPoints = 14)
public class TblAkcSaleDetail extends BaseModel implements Serializable {


    /**
     * 序号
     */
    @ExcelProperty(value = "序号")
    @ApiModelProperty(value = "序号",required = true)
    @NotNull(message = "序号不能为空")
    private Integer serialNumber;

    /**
     * 活动ID
     */
    @ExcelProperty(value = "活动ID")
    @ApiModelProperty(value = "活动ID",required = true)
    @NotNull(message = "活动ID不能为空")
    private String actionId;

    /**
     * 店铺编码
     */
    @ExcelProperty(value = "店铺编码")
    @ApiModelProperty(value = "店铺编码",required = true)
    @NotNull(message = "店铺编码不能为空")
    private String shopNo;

    /**
     * 店铺名称
     */
    @ExcelProperty(value = "店铺名称")
    @ApiModelProperty(value = "店铺名称")
    private String shopName;

    /**
     * 日期
     */
    @ExcelProperty(value = "提现日期")
    @ApiModelProperty(value = "提现日期")
    @JsonFormat(pattern="yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date outDate;

    /**
     * 活动名称
     */
    @ExcelProperty(value = "活动名称")
    @ApiModelProperty(value = "活动名称",required = true)
    @NotNull(message = "活动名称不能为空")
    private String actionName;

    /**
     * 客户名称
     */
    @ExcelProperty(value = "客户名称")
    @ApiModelProperty(value = "客户名称")
    private String customerName;

    /**
     * 商品名称
     */
    @ExcelProperty(value = "商品名称")
    @ApiModelProperty(value = "商品名称")
    private String itemName;

    /**
     * 商品品类
     */
    @ExcelProperty(value = "商品品类")
    @ApiModelProperty(value = "商品品类")
    private String itemCategory;

    /**
     * 活动品牌
     */
    @ExcelProperty(value = "活动品牌")
    @ApiModelProperty(value = "活动品牌")
    private String actionBrand;

    /**
     * 条码
     */
    @ExcelProperty(value = "条码")
    @ApiModelProperty(value = "条码")
    private String barcode;

    /**
     * 商品件数
     */
    @ExcelProperty(value = "商品件数")
    @ApiModelProperty(value = "商品件数",required = true)
    @NotNull(message = "商品件数不能为空")
    private Integer itemQty;

    /**
     * 商品款号
     */
    @ExcelProperty(value = "商品款号")
    @ApiModelProperty(value = "商品款号")
    private String itemStyle;

    /**
     * 商品状态
     */
    @ExcelProperty(value = "商品状态")
    @ApiModelProperty(value = "商品状态")
    private String itemStatus;

    /**
     * 缺货实发状态
     */
    @ExcelProperty(value = "缺货实发状态")
    @ApiModelProperty(value = "缺货实发状态",required = true)
    @NotNull(message = "缺货实发状态不能为空")
    private String lackItemStatus;

    /**
     * 交付单号
     */
    @ExcelProperty(value = "交付单号")
    @ApiModelProperty(value = "交付单号",required = true)
    @NotNull(message = "交付单号不能为空")
    private String handInNo;

    /**
     * 回款单价(单位:元)
     */
    @ExcelProperty(value = "回款单价(单位:元)")
    @ApiModelProperty(value = "回款单价(单位:元)",required = true)
    @NotNull(message = "回款单价(单位:元)不能为空")
    private BigDecimal returnPrice;

    /**
     * 机器人确认时间
     */
    @ExcelProperty(value = "机器人确认时间")
    @ApiModelProperty(value = "回款单价(单位:元)",hidden = true)
    private Date robotComfirmDate;

}
